package com.jiezuo.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
* @description   用户部门模块
* @author        庞留杰
* @date          2020/09/02 20:37
* @version       V1.0
**/
//用户部门模块")
@Data
@TableName(value = "sys_depart_user")
public class DepartUser implements Serializable{
	private static final long serialVersionUID = 1L;

	//主键ID")
	@TableId(type = IdType.AUTO)
	private String id; //ID

	//部门ID")
	private String depart_id;

	//用户ID")
	private String user_id;

	//sys_enterprise表中的id")
	private String enterprise;

	@TableField(exist = false)
	//部门IDList")
	private List<String> departIdList;
}
